package edu.scau.mis.pos.domain;

import edu.scau.mis.core.domain.BaseEntity;

import java.util.Date;
import java.io.Serializable;

/**
 * (OrderItem)实体类
 *
 * @author xzh
 * @since 2024-04-04 00:22:03
 */
public class OrderItem extends BaseEntity {
    private static final long serialVersionUID = 643710247843115686L;
    /**
    * 主键
    */
    private Long orderItemId;
    /**
    * 订单id
    */
    private Long orderId;
    /**
    * 产品id
    */
    private Long productId;
    /**
    * 逻辑删除（0隐藏，1显示）
    */
    private Integer display;
    /**
     * 是否使用会员卡划扣,1使用，0不使用
     */
    private Integer useVip;

    private ProductDescription productDescription;

    public Integer getUseVip() {
        return useVip;
    }

    public void setUseVip(Integer useVip) {
        this.useVip = useVip;
    }

    public ProductDescription getProductDescription() {
        return productDescription;
    }

    public void setProductDescription(ProductDescription productDescription) {
        this.productDescription = productDescription;
    }

    public Long getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }


    public Integer getDisplay() {
        return display;
    }

    public void setDisplay(Integer display) {
        this.display = display;
    }


}
